import {INIT_INPUT_DATA,INIT_MALL_INFO,INIT_SORE_DATA} from '../../actionType/searchType'
const initialState = {

}

export default (state = initialState, { type, payload }) => {
    switch (type) {

    case INIT_INPUT_DATA:
        return { ...state, ...payload }

        case INIT_MALL_INFO:
            return { ...state, ...payload }

            case INIT_SORE_DATA:
                return { ...state, ...payload }
    default:
        return state
    }
}
